How Does React Work